package com.ag.lwc.service;

import java.util.List;

import com.ag.bean.TbEventCleanup;
import com.ag.bean.TbEventCleanupAttach;
import com.ag.dao.TbEventCleanupAttachDAO;
import com.ag.lwc.dao.MyEventCleanupDAO;

//事件善后的业务接口

public class EventCleanupServise {
    private MyEventCleanupDAO eventCleanupDAO;

   /**
    * 查找事件善后
    * @param eventId
    * @return
    */
	public List<TbEventCleanup> findCleanupByEventId(String eventId)
	{
		List<TbEventCleanup> result =eventCleanupDAO.findCleanupByEventId(eventId);
		return result;
	}
	//增加
	public void addTbEventCleanup(TbEventCleanup eventCleanup,TbEventCleanupAttach cleanupAttach)
	{
		eventCleanupDAO.addTbEventCleanup(eventCleanup, cleanupAttach);
	}
	public MyEventCleanupDAO getEventCleanupDAO() {
		return eventCleanupDAO;
	}
	public void setEventCleanupDAO(MyEventCleanupDAO eventCleanupDAO) {
		this.eventCleanupDAO = eventCleanupDAO;
	}

}
